package com.example.safeassistan.home.model;

import java.util.List;

public class CheckLogDetailModel {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : {"records":[{"itemResult":1,"notes":"备注内容1","createTime":null,"riskPointName":"配电室","itemDesc":"检查电器开关插头是否完好、有效","collect":"正常1","realname":"管理员"},{"itemResult":1,"notes":"备注内容2","createTime":null,"riskPointName":"配电室","itemDesc":"111","collect":"正常2","realname":"管理员"},{"itemResult":1,"notes":"备注内容3","createTime":null,"riskPointName":"配电室","itemDesc":"45654","collect":"正常3","realname":"管理员"}],"total":3,"size":10,"current":1,"orders":[],"optimizeCountSql":true,"hitCount":false,"countId":null,"maxLimit":null,"searchCount":true,"pages":1}
     * timestamp : 1618628020917
     */

    private Boolean success;
    private String message;
    private Integer code;
    private ResultDTO result;
    private Long timestamp;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public ResultDTO getResult() {
        return result;
    }

    public void setResult(ResultDTO result) {
        this.result = result;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public static class ResultDTO {
        /**
         * records : [{"itemResult":1,"notes":"备注内容1","createTime":null,"riskPointName":"配电室","itemDesc":"检查电器开关插头是否完好、有效","collect":"正常1","realname":"管理员"},{"itemResult":1,"notes":"备注内容2","createTime":null,"riskPointName":"配电室","itemDesc":"111","collect":"正常2","realname":"管理员"},{"itemResult":1,"notes":"备注内容3","createTime":null,"riskPointName":"配电室","itemDesc":"45654","collect":"正常3","realname":"管理员"}]
         * total : 3
         * size : 10
         * current : 1
         * orders : []
         * optimizeCountSql : true
         * hitCount : false
         * countId : null
         * maxLimit : null
         * searchCount : true
         * pages : 1
         */

        private Integer total;
        private Integer size;
        private Integer current;
        private Boolean optimizeCountSql;
        private Boolean hitCount;
        private Object countId;
        private Object maxLimit;
        private Boolean searchCount;
        private Integer pages;
        private List<RecordsDTO> records;
        private List<?> orders;

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Integer getCurrent() {
            return current;
        }

        public void setCurrent(Integer current) {
            this.current = current;
        }

        public Boolean isOptimizeCountSql() {
            return optimizeCountSql;
        }

        public void setOptimizeCountSql(Boolean optimizeCountSql) {
            this.optimizeCountSql = optimizeCountSql;
        }

        public Boolean isHitCount() {
            return hitCount;
        }

        public void setHitCount(Boolean hitCount) {
            this.hitCount = hitCount;
        }

        public Object getCountId() {
            return countId;
        }

        public void setCountId(Object countId) {
            this.countId = countId;
        }

        public Object getMaxLimit() {
            return maxLimit;
        }

        public void setMaxLimit(Object maxLimit) {
            this.maxLimit = maxLimit;
        }

        public Boolean isSearchCount() {
            return searchCount;
        }

        public void setSearchCount(Boolean searchCount) {
            this.searchCount = searchCount;
        }

        public Integer getPages() {
            return pages;
        }

        public void setPages(Integer pages) {
            this.pages = pages;
        }

        public List<RecordsDTO> getRecords() {
            return records;
        }

        public void setRecords(List<RecordsDTO> records) {
            this.records = records;
        }

        public List<?> getOrders() {
            return orders;
        }

        public void setOrders(List<?> orders) {
            this.orders = orders;
        }

        public static class RecordsDTO {
            /**
             * itemResult : 1
             * notes : 备注内容1
             * createTime : null
             * riskPointName : 配电室
             * itemDesc : 检查电器开关插头是否完好、有效
             * collect : 正常1
             * realname : 管理员
             */

            private Integer itemResult;
            private String notes;
            private String createTime;
            private String riskPointName;
            private String itemDesc;
            private String collect;
            private String realname;
            private String hdangerTitle;
            private String hdangerLevel;
            private String hiddenId;
            private String dangerSubmit;
            private String disposeStatus;
            private String rectSubmit;


            public String getRectSubmit() {
                return rectSubmit;
            }

            public void setRectSubmit(String rectSubmit) {
                this.rectSubmit = rectSubmit;
            }

            public String getDisposeStatus() {
                return disposeStatus;
            }

            public void setDisposeStatus(String disposeStatus) {
                this.disposeStatus = disposeStatus;
            }

            public String getDangerSubmit() {
                return dangerSubmit;
            }

            public void setDangerSubmit(String dangerSubmit) {
                this.dangerSubmit = dangerSubmit;
            }

            public String getHiddenId() {
                return hiddenId;
            }

            public void setHiddenId(String hiddenId) {
                this.hiddenId = hiddenId;
            }

            public String getHdangerLevel() {
                return hdangerLevel;
            }

            public void setHdangerLevel(String hdangerLevel) {
                this.hdangerLevel = hdangerLevel;
            }

            public String getHdangerTitle() {
                return hdangerTitle;
            }

            public void setHdangerTitle(String hdangerTitle) {
                this.hdangerTitle = hdangerTitle;
            }

            public Integer getItemResult() {
                return itemResult;
            }

            public void setItemResult(Integer itemResult) {
                this.itemResult = itemResult;
            }

            public String getNotes() {
                return notes;
            }

            public void setNotes(String notes) {
                this.notes = notes;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getRiskPointName() {
                return riskPointName;
            }

            public void setRiskPointName(String riskPointName) {
                this.riskPointName = riskPointName;
            }

            public String getItemDesc() {
                return itemDesc;
            }

            public void setItemDesc(String itemDesc) {
                this.itemDesc = itemDesc;
            }

            public String getCollect() {
                return collect;
            }

            public void setCollect(String collect) {
                this.collect = collect;
            }

            public String getRealname() {
                return realname;
            }

            public void setRealname(String realname) {
                this.realname = realname;
            }
        }
    }
}
